Optimal. Leaf size=98 \[ -\frac{d \text{PolyLog}\left (2,-\frac{b \left (F^{g (e+f x)}\right )^n}{a}\right )}{a f^2 g^2 n^2 \log ^2(F)}-\frac{(c+d x) \log \left (\frac{b \left (F^{g (e+f x)}\right )^n}{a}+1\right )}{a f g n \log (F)}+\frac{(c+d x)^2}{2 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.156513, antiderivative size = 98, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.174, Rules used = {2184, 2190, 2279, 2391} \[ -\frac{d \text{PolyLog}\left (2,-\frac{b \left (F^{g (e+f x)}\right )^n}{a}\right )}{a f^2 g^2 n^2 \log ^2(F)}-\frac{(c+d x) \log \left (\frac{b \left (F^{g (e+f x)}\right )^n}{a}+1\right )}{a f g n \log (F)}+\frac{(c+d x)^2}{2 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2184
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{c+d x}{a+b \left (F^{g (e+f x)}\right )^n} \, dx &=\frac{(c+d x)^2}{2 a d}-\frac{b \int \frac{\left (F^{g (e+f x)}\right )^n (c+d x)}{a+b \left (F^{g (e+f x)}\right )^n} \, dx}{a}\\ &=\frac{(c+d x)^2}{2 a d}-\frac{(c+d x) \log \left (1+\frac{b \left (F^{g (e+f x)}\right )^n}{a}\right )}{a f g n \log (F)}+\frac{d \int \log \left (1+\frac{b \left (F^{g (e+f x)}\right )^n}{a}\right ) \, dx}{a f g n \log (F)}\\ &=\frac{(c+d x)^2}{2 a d}-\frac{(c+d x) \log \left (1+\frac{b \left (F^{g (e+f x)}\right )^n}{a}\right )}{a f g n \log (F)}+\frac{d \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{a}\right )}{x} \, dx,x,\left (F^{g (e+f x)}\right )^n\right )}{a f^2 g^2 n^2 \log ^2(F)}\\ &=\frac{(c+d x)^2}{2 a d}-\frac{(c+d x) \log \left (1+\frac{b \left (F^{g (e+f x)}\right )^n}{a}\right )}{a f g n \log (F)}-\frac{d \text{Li}_2\left (-\frac{b \left (F^{g (e+f x)}\right )^n}{a}\right )}{a f^2 g^2 n^2 \log ^2(F)}\\ \end{align*}
Mathematica [A] time = 0.0105853, size = 74, normalized size = 0.76 \[ \frac{d \text{PolyLog}\left (2,-\frac{a \left (F^{g (e+f x)}\right )^{-n}}{b}\right )-f g n \log (F) (c+d x) \log \left (\frac{a \left (F^{g (e+f x)}\right )^{-n}}{b}+1\right )}{a f^2 g^2 n^2 \log ^2(F)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.06, size = 719, normalized size = 7.3 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -c{\left (\frac{\log \left ({\left (F^{f g x + e g}\right )}^{n} b + a\right )}{a f g n \log \left (F\right )} - \frac{\log \left ({\left (F^{f g x + e g}\right )}^{n}\right )}{a f g n \log \left (F\right )}\right )} + d \int \frac{x}{{\left (F^{f g x}\right )}^{n}{\left (F^{e g}\right )}^{n} b + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.68967, size = 344, normalized size = 3.51 \begin{align*} \frac{2 \,{\left (d e - c f\right )} g n \log \left (F^{f g n x + e g n} b + a\right ) \log \left (F\right ) +{\left (d f^{2} g^{2} n^{2} x^{2} + 2 \, c f^{2} g^{2} n^{2} x\right )} \log \left (F\right )^{2} - 2 \,{\left (d f g n x + d e g n\right )} \log \left (F\right ) \log \left (\frac{F^{f g n x + e g n} b + a}{a}\right ) - 2 \, d{\rm Li}_2\left (-\frac{F^{f g n x + e g n} b + a}{a} + 1\right )}{2 \, a f^{2} g^{2} n^{2} \log \left (F\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{c + d x}{a + b \left (F^{e g} F^{f g x}\right )^{n}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{d x + c}{{\left (F^{{\left (f x + e\right )} g}\right )}^{n} b + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]